| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

Static Public Attributes | List of all members
nkGraphics::SamplerManager Class Referencefinal

Manages the samplers recorded. More...

Inheritance diagram for nkGraphics::SamplerManager:

## Static Public Attributes
static const nkMemory::StringView | DEFAULT_SAMPLER = "NILKINS_DEFAULT_SAMPLER"
| Default sampler used when no sampler gets overloaded within a Shader.

## Additional Inherited Members
Public Member Functions inherited from nkGraphics::Manager< Sampler >
Sampler * | createOrRetrieve (nkMemory::StringView name)
Sampler * | record (nkMemory::StringView name, nkMemory::UniquePtr< Sampler > resource)
Sampler * | get (nkMemory::StringView name) const
Sampler * | getByIndex (unsigned int index) const
void | rename (nkMemory::StringView currentName, nkMemory::StringView newName)
void | erase (nkMemory::StringView name)
nkMemory::UniquePtr< Sampler > | relinquish (nkMemory::StringView name)

## Detailed Description

Manages the samplers recorded.

Sampler creation / deletion can go through this class, allowing it to act as a repository of resources which lifetime will get managed as needed. Like any Manager, it is always owning the memory it owns, unless it passes back the ownership explicitly.

The documentation for this class was generated from the following file:

- Documentation/Headers/NilkinsGraphics/Samplers/SamplerManager.h